const Router=require('koa-router')
const homeController=require('./controller/home')
const userController=require('./controller/user')
const router=new Router()
router.get('/',homeController.testFunController)
router.post('/user/addUser',userController.addUserController)
router.delete('/user/delete/:id',userController.deleteUserController)
router.put('/user/putUser',userController.putUserController)
router.select('/user/select/:id',userController.selectUserController)

module.exports=router